// 国内折扣
// 头部样式开始
header {
  background-color: #ff841d;
    height: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.1rem;
    a:first-child{
      width: 0.34rem;
      height: 0.34rem;
      background-image: url("../images/icon_bar.png");
      background-size: 2.20rem 1.32rem;
      background-position: -.97rem -.06rem;
    };
    h1 {
      flex: 1;
      font-weight: normal;
      color: #fff;
      font-size: .22rem;
      // align-content: center;
      // justify-content: center;
      text-align: center;
    }
    a:last-child {
        width: .34rem;
    }
}
// 头部样式结束

//商品部分样式开始

.main {
  
  ul {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
    li {
      padding-top: 0.1rem;
      padding-left: 0.1rem;
      width: 50%;
      border-right: 1px solid #aaa;
      border-bottom: 1px solid #aaa;
      .main_img {
        padding-top: 0.2rem;
        width: 2.48rem;
        height: 2.48rem;
        margin: 0 auto;
        img {
          width: 80%;
          font-size: 0.16rem;
        }
      }
      .product-content {
        padding: 0 10px;
        .productName {
          height: .78rem;
          font-size: .28rem;
          font-weight: 600;
          // white-space: nowrap;
          text-align: left;
          text-align-last: left;
          word-break: break-all;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          // text-overflow: ellipsis;
        }
        .productPrice {
          height: .6rem;
          color: #ff6c00;
          font-size: 0.24rem;
        }
        .product-from-time {
          font-size: 0.22rem;
          color: #aaa;
          padding-bottom: 0.3rem;
        }
      }
    }
    li:nth-child(even){
      border-right: 0;
    }
  }
}
//商品部分样式结束

// 底部样式开始
.footer {
  background-color: #efefef;
  .footer_nav {
    display: flex;
    justify-content: center;
    a {
      flex: 1;
      text-align: center;
      height: .4rem;
      line-height: .4rem;
      font-size: .18rem;
      border-bottom: 1px solid #666;
      border-top: 1px solid #666;
      border-right: 1px solid #666;
    }
    a:last-child {
      border-right:0;
      img {
        display: inline-block;
        width: .20rem;
      }
    }
  }
  p {
    text-align: center;
    font-size: 0.18rem;
  }
  p:nth-child(2) {
    padding-top: .2rem;    
    span:nth-child(1){
      color: red;
    }
    span:nth-child(2){
      color: #000;
      font-weight: 600;
    }
    span:nth-child(3){
      color: #666;
    }
  }
}

// 底部样式结束